package com.mlh;

import com.mlh.dao.BookDao;
import com.mlh.dao.impl.BookDaoImpl;
import com.mlh.service.BookService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
    public static void main(String[] args) {
        ApplicationContext ac=new ClassPathXmlApplicationContext("applicationContext.xml");
        // BookDao bookDao=ac.getBean("bookDao", BookDaoImpl.class);
        // System.out.println(bookDao);

    }

}
